package com.syh.jn.scm.domain.upstream.repository.logistics;

import com.syh.core.ddd.infrastructure.repository.ReadRepo;
import com.syh.jn.scm.domain.upstream.entity.logistics.UpLogisticsBill;
import com.syh.jn.scm.domain.upstream.entity.logistics.UpLogisticsBillItem;

import java.util.List;

/**
 * Created by soci.song on 2018/11/2.
 */
public interface UpLogisticsBillReadRepository extends ReadRepo<UpLogisticsBill, Long> {
    /**
     * 根据订单id获取订单项
     * @param id
     * @return
     */
    List<UpLogisticsBillItem> getItemsByLogisticsBillId(Long id);
}
